C (67/301)

From:Bablos
Date:01 Aug 99 at 10:09:25
Subject:Beginners Woes

From: Bablos <bablos@cableinet.co.uk>

Hi There...

I've got a number of GCC/EGCS problems, which I hope someone can
sort out for me.

1) As I'd asked before, I need to include iff.lib in the linking of a
project - I'm OK with linking the lib_.a files, but I'm not sure as to
how to convert iff.lib to libiff.a, or how to pass iff.lib onto the linker.

2) I've just installed the latest snapshot of EGCS in my ADE directory.
When invoking the compiler with m86k-amigaos-gcc -V egcs-2.91.66, I
keep getting the error that it can't find cc1, and then it tells me that
'file path prefix '/gg/lib/gcc-lib/m68k-amigaos/egcs-2.91.66/' never
used'. As this is slightly different from my ADE installation, I wonder
if I have to specify path somewhere, so I can change the /gg/ at the
beginning to my ADE:? For the moment I've removed the -V option and
replaced it with -B<path>, which seems to be OK. Well, for now...

3) Command too long - when combining all the object files, and the
command line options, I've been getting this error - any easy way
around this?

4) When I reach the linking process with my project, I'm now getting
the error 'collect2: cannot find `ld'', which I wasn't getting before
when simply using gcc. Why is this, and how can I rectify the problem?

Hope someone can help!

Bablos.